
# for n in range(1900,2901):
#     if n%4==0 and n%100!=0 or n%400==0:
#         print(n)
# #进阶
n=int(input("请输入年份"))
if n%4==0 and n%100!=0 or n%400==0:
    print(f"{n}是闰年")
else:
    print(f"{n}不是闰年")